package com.easygoods.request;

import com.bestvike.stone.spring.exception.AssertUtils;
import com.bestvike.stone.spring.rest.IRequest;
import lombok.Data;

/**
 * Created by 许崇雷 on 2019-01-21.
 */
@Data
public class OrderCancelRequest implements IRequest {
    private String orderId;

    @Override
    public void assertValid() {
        AssertUtils.hasText(this.orderId, "orderId");
    }
}
